import maya.cmds as cmd

def loc_pos(*loc):
    loc = []
    for i in loc:
        mc.setAttr